<div class="well">
	<?php 
	$menu = array(
		array('label'=>'Menu'),
		array('label'=>'Joined categories', 'icon'=>'icon-book', 'url'=>Yii::app()->createUrl('users/categoryAuthor')),
		array('label'=>'Create article', 'icon'=>'icon-book', 'url'=>Yii::app()->createUrl('articles/create')),
		array('label'=>'My articles', 'icon'=>'icon-list-alt', 'url'=>Yii::app()->createUrl('articles/me')),
		array('label'=>'My articles followed', 'icon'=>'icon-plus', 'url'=>Yii::app()->createUrl('articles/follow')),
		array('label'=>'My articles flaged', 'icon'=>'icon-flag', 'url'=>Yii::app()->createUrl('articles/flag')),
		array('label'=>'My articles liked', 'icon'=>'icon-thumbs-up', 'url'=>Yii::app()->createUrl('articles/like')),
		array('label'=>'My articles contributed', 'icon'=>'icon-thumbs-up', 'url'=>Yii::app()->createUrl('articles/contributed')),
		// array('label'=>'Revision  article', 'icon'=>'home', 'url'=>'#'),
	);
	
	if(currentUser() == false){
		$menu = array(
			array('label'=>'Menu'),
			array('label'=>'Create article', 'icon'=>'icon-book', 'url'=>Yii::app()->createUrl('articles/create')),
			// array('label'=>'Revision  article', 'icon'=>'home', 'url'=>'#'),
		);
	}
	$this->widget('bootstrap.widgets.TbMenu', array(
		'type'=>'list',
		'items'=>$menu
	)); ?>
</div>